package org.example.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller
public class Test3Controller {
    @RequestMapping(value = "/test3",method = RequestMethod.GET)
    public String t1(){
        return "forward:/home.html";//转发
    }
}
